package com.sanpu.kxe.business.member.bean;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * Description：会员等级列表
 * Created by 薛勇军 on 2018/7/30.
 */

public class MemberLevelOutput implements Serializable {

    /**商户级别**/
    private int levelId;

    /** 级别名称 */
    private String levelName;

    /** 描述 */
    private String description;

    /** 升级方式
     * NO：不用升级
     * RECHARGE：充值
     * RECOMMEND：推荐用户
     **/
    private String upgradeWay;

    /** 是否需要协议
     * Y：需要
     * N：不需要
     **/
    private String isAgreement;

    /** 充值金额 */
    private String rechargeAmount;

    /** 等级头像图片地址 */
    private String levelImagePath;

    /** 充值信息Id */
    private String vipOpenId;

    private boolean isChoose;

    public int getLevelId() {
        return levelId;
    }

    public void setLevelId(int levelId) {
        this.levelId = levelId;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUpgradeWay() {
        return upgradeWay;
    }

    public void setUpgradeWay(String upgradeWay) {
        this.upgradeWay = upgradeWay;
    }

    public String getIsAgreement() {
        return isAgreement;
    }

    public boolean isAgreement() {
        return TextUtils.equals("Y", isAgreement);
    }

    public void setIsAgreement(String isAgreement) {
        this.isAgreement = isAgreement;
    }

    public String getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(String rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public String getLevelImagePath() {
        return levelImagePath;
    }

    public void setLevelImagePath(String levelImagePath) {
        this.levelImagePath = levelImagePath;
    }

    public String getVipOpenId() {
        return vipOpenId;
    }

    public void setVipOpenId(String vipOpenId) {
        this.vipOpenId = vipOpenId;
    }

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }
}
